﻿using PokerServer.Cache.Fight;
using PokerServer.Cache.Match;

namespace PokerServer.Cache
{
    /// <summary>
    /// 缓存层
    /// </summary>
    public class Caches
    {
        public static AccountCache Account { get; set; }
        public static UserCache User { get; set; }
        public static MatchCache Match { get; set; }
        public static FightCache Fight { get; set; }

        static Caches()
        {
            Account = new AccountCache();
            User = new UserCache();
            Match = new MatchCache();
            Fight = new FightCache();
        }
    }
}